<?php
namespace app\obd\validate;

use think\Validate;

/**
 * Class DevicestatusValidate
 * @package app\obd\validate
 * @author zhenHong~
 */
class DevicestatusValidate extends Validate{
    protected $rule = [
        'device_id' => ['require','regex' => '/^[+]{0,1}(\d+)$/']
    ];

    protected $message = [
        'device_id' => '参数错误'
    ];

}